{{ define "title" }}Welcome to xbar docs{{ end }}
{{ define "head" }}
	<meta name='description' content='xbar lets you put the output of any executable script or program into your macOS menu bar'>
	<meta name='author' content='Mat Ryer + contributors'>
	<meta name='keywords' content='macos,menubar,xbar,bitbar'>
	<meta itemprop='image' content='https://xbarapp.com/public/img/xbar-menu-preview.png'>
	<meta itemprop='name' content='Welcome to xbar docs'>
	<meta itemprop='description' content='xbar lets you put the output of any executable script or program into your macOS menu bar'>
	<meta name='twitter:card' content='summary_large_image'>
	<meta name='twitter:title' content='Welcome to xbar docs'>
	<meta name='twitter:description' content='xbar lets you put the output of any executable script or program into your macOS menu bar'>
	<meta name='twitter:image' content='https://xbarapp.com/public/img/xbar-menu-preview.png'>
	<meta name='twitter:creator' content='matryer'>
	<meta property='og:title' content='Welcome to xbar docs'>
	<meta property='og:description' content='xbar lets you put the output of any executable script or program into your macOS menu bar'>
	<meta property='og:url' content='https://xbarapp.com/'>
	<meta property='og:site_name' content='xbar lets you put anything into your macOS menu bar'>
	<meta property='og:type' content='article'>
	<meta property='og:image' content='https://xbarapp.com/public/img/xbar-menu-preview.png'>
	<link rel='apple-touch-icon' sizes='180x180' href='/public/img/xbar-2048.png'>
	<link rel='icon' type='image/png' sizes='32x32' href='/public/img/xbar-2048.png'>
	<link rel='shortcut icon' href='/public/img/xbar-2048.png'>
	<meta name='msapplication-TileColor' content='#0f0c29'>
	<meta name='msapplication-config' content='/public/browserconfig.xml'>
	<meta name='theme-color' content='#0f0c29'>
{{ end }}
{{ define "body" }}
	<div class='bg-gray-900/25'>
		<div class='container mx-auto'>
			<div class='rounded p-8 text-white md:py-16'>
				<div class='flex flex-wrap mt-4'>
					<div class='md:mr-8'>
						<h2 class='font-bold text-2xl fancy-font mb-3'>
							Plugins reference
						</h2>
						<ul class='list-style-disc'>
							<li>
								－<a class='hover:underline' href='https://github.com/matryer/xbar-plugins/blob/main/CONTRIBUTING.md'>Writing plugins guide</a>
							</li>
							<li>
								－<a class='hover:underline' href='https://github.com/matryer/xbar-plugins/blob/main/CONTRIBUTING.md#parameters'>Parameters</a>
							</li>
							<li>
								－<a class='hover:underline' href='https://github.com/matryer/xbar-plugins/blob/main/CONTRIBUTING.md#metadata'>Metadata</a>
							</li>
							<li>
								－<a class='hover:underline' href='https://github.com/matryer/xbar-plugins/blob/main/CONTRIBUTING.md#examples'>Examples</a>
							</li>
							<li>
								－<a class='hover:underline' href='https://github.com/matryer/xbar-plugins/blob/main/CONTRIBUTING.md#advanced-apis'>Advanced APIs</a>
							</li>
						</ul>
					</div>
					<div>
						<h2 class='font-bold text-2xl fancy-font mb-3'>
							Articles
						</h2>
						<ul class='list-style-disc'>
							{{ range .AllArticles }}
								<li>
									<span class='opacity-75'>
										{{ .PublishTimeStr }}
									</span>
									<a 
										href='/docs/{{ .Path }}'
										class='hover:underline'
									>
										{{ .Title }}
									</a>
								</li>
							{{ end }}
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
{{ end }}
